package com.wch.util;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class SpringTest {
    public ApplicationContext getContext(){
        String conf = "spring-mvc.xml";
        ApplicationContext ac =
                new ClassPathXmlApplicationContext(conf);
        return ac;
    }
}
